home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / pc / DirectX SDK / DXSDK / samples / Multimedia / DirectShow / BaseClasses / ddmm.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-10-08  |  972 b   |  29 lines

  1. //------------------------------------------------------------------------------
  2. // File: DDMM.h
  3. //
  4. // Desc: DirectShow base classes - efines routines for using DirectDraw 
  5. //       on a multimonitor system.
  6. //
  7. // Copyright (c) 1995-2001 Microsoft Corporation.  All rights reserved.
  8. //------------------------------------------------------------------------------
  9.  
  10.  
  11. #ifdef __cplusplus
  12. extern "C" {            /* Assume C declarations for C++ */
  13. #endif  /* __cplusplus */
  14.  
  15. // DDRAW.H might not include these
  16. #ifndef DDENUM_ATTACHEDSECONDARYDEVICES
  17. #define DDENUM_ATTACHEDSECONDARYDEVICES     0x00000001L
  18. #endif
  19.  
  20. typedef HRESULT (*PDRAWCREATE)(IID *,LPDIRECTDRAW *,LPUNKNOWN);
  21. typedef HRESULT (*PDRAWENUM)(LPDDENUMCALLBACKA, LPVOID);
  22.  
  23. IDirectDraw * DirectDrawCreateFromDevice(LPSTR, PDRAWCREATE, PDRAWENUM);
  24. IDirectDraw * DirectDrawCreateFromDeviceEx(LPSTR, PDRAWCREATE, LPDIRECTDRAWENUMERATEEXA);
  25.  
  26. #ifdef __cplusplus
  27. }
  28. #endif  /* __cplusplus */
  29.